<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>学生信息管理系统</title>
<script>
	function resetValue(){
		document.getElementById("userName").value="";
		document.getElementById("password").value="";
	}
</script>
<script>
	
</script>
</head>
<body style="background-color:#7E85DD">
<form action="login" method="post">
<div align="center" style="padding-top:50px;">
	<table width="1311" height="674" background="image/login.jpg">
		<tr>
			<td colspan="5"></td>
		</tr>
		<tr>
			<td colspan="5"></td>
		</tr>
		<tr>
			<td colspan="5"></td>
		</tr>
		<tr>
			<td colspan="5"></td>
		</tr>
		<tr height="15">
			<td width="40%"></td>
			<td width="30%"></td>
			<td width="8%">用户名：</td>
			<td><input type="text" id="userName"name="userName" value="${userName}" /></td>
			<td width="40%"></td>
		</tr>
		<tr height="12">
			<td width="40%"></td>
			<td width="30%"></td>
			<td width="8%">密码：</td>
			<td><input type="password" id="password"name="password" value = "${password}"/></td>
			<td width="40%"></td>
		</tr>
		<tr height="15">
			<td width="40%"></td>
			<td width="30%"></td>
			<td width="8%"><input type="submit" value="登陆" /></td>
			<td><input type="button" value="重置" onclick="resetValue()"/></td>
			<td width="40%"></td>
		</tr>
		<tr height="15">
			<td width="40%"></td>
			<td width="30%"></td>
			<td width="10%" colspan="2"><font color="red">${error}</font></td>
			<td width="40%"></td>
		</tr>
		<tr>
			<td colspan="5"></td>
		</tr>
		<tr>
			<td colspan="5"></td>
		</tr>
		<tr>
			<td colspan="5"></td>
		</tr>
	</table>
</div>
</form>
</body>
</html>